/*
 * MyBank.cn Inc.
 * Copyright (c) 2015-2021 All Rights Reserved.
 */
package me.caosh.util.factory;

import java.lang.annotation.*;

/**
 * 标记一个类为组件工厂
 *
 * @author mujiang.csh
 * @version v0.1, created at 2021/8/7 18:48
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
@Documented
public @interface Factory {
    /**
     * 组件接口
     *
     * @return 组件接口
     */
    Class<?> value();
}